﻿@model Resto.CostControl.Core.MaterialPrice
<div class="pageContent">
    @using (Html.DWZBeginForm())
    { 
        <div class="pageFormContent" layouth="56">
            @Html.HiddenFor(model => model.Id)
            @Html.DWZDropDownListFor(model => model.MaterialId, "Material").Required()
            @Html.DWZDropDownListFor(model => model.SupplierId, "Supplier").Required()
            @Html.DWZTextBoxFor(model => model.Price).Number().Required()
            @Html.DWZTextBoxFor(model => model.PrePrice).Number().Required()
            @Html.DWZDataTextBoxFor(model => model.StartDate).Required()
            @Html.DWZDataTextBoxFor(model => model.EndDate).Required()
            @*@Html.CheckBoxFor(model => model.IsValid).Required()*@
        </div>
        @Html.DWZFormBar()
    }
</div>
